package com.gjun.struts.bean;

import java.io.Serializable;
import java.util.Set;

import com.gjun.struts.bean.ext.Category;
import com.gjun.struts.bean.ext.Product;

public class AbstrCategory implements Serializable {
	
	private Integer id;

	private Integer turn;

	private String enName;

	private String name;

	private String description;

	private Integer parentId;

	private Set<Product> products;

	private Set<Category> subCats;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getTurn() {
		return turn;
	}

	public void setTurn(Integer turn) {
		this.turn = turn;
	}

	public String getEnName() {
		return enName;
	}

	public void setEnName(String enName) {
		this.enName = enName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public Set<Product> getProducts() {
		return products;
	}

	public void setProducts(Set<Product> products) {
		this.products = products;
	}

	public Set<Category> getSubCats() {
		return subCats;
	}

	public void setSubCats(Set<Category> subCats) {
		this.subCats = subCats;
	}

	public AbstrCategory() {
	}
	
}
